package org.example;

public class ExcelEntity {
    public ExcelEntity() {
    }
    public ExcelEntity(int id,String name) {
        this.id = id;
        this.name = name;
    }
    @MyAnnotation(columnIndex = 0,columnName = "序号")
    private int id;

    @MyAnnotation(columnIndex = 1,columnName = "名字")
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
